#pragma once
#include "elementfactory.h"
#include "Rail.h"
#include "FactoryUtil.h"
#include "Log.h"
#include "LogFactory.h"
#include "General.h"
#include <string>
#include <stdlib.h>
#include <math.h>
#include "LogFactory.h"

class RailFactory :
	public ElementFactory
{

private: Log* log;

public:
	RailFactory(void);
	virtual Element* createElement(XMLElement*);

private:
	Rail* createRail(XMLElement*);


public:
	~RailFactory(void);
};
